package com.mrdeer.merchant.convert;

import com.mrdeer.merchant.vo.MerchantRegisterVO;
import com.mrdeer.merchant.api.dto.MerchantDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/11 0011 11:39
 */
@Mapper
public interface MerchantRegisterConvert {

    MerchantRegisterConvert INSTANCE = Mappers.getMapper(MerchantRegisterConvert.class);

    MerchantRegisterVO dto2Vo(MerchantDTO dto);

    MerchantDTO vo2Dto(MerchantRegisterVO vo);
}
